package top.milkbox.sys.modular.menu.mapStruct;

import org.mapstruct.Mapper;
import top.milkbox.sys.modular.menu.entity.SysMenuEntity;
import top.milkbox.sys.modular.menu.param.SysMenuAddParam;
import top.milkbox.sys.modular.menu.param.SysMenuEditParam;
import top.milkbox.sys.modular.menu.vo.SysMenuVo;

/**
 * SysMenu相关的实体类之间的转换<br />
 * 此接口由MapStruct在编译时生成实现代码，详细解释请看readme<br />
 *
 * @author milkbox
 * @date 2024-11-19
 */
@Mapper
public interface SysMenuMapStruct {

    /**
     * entity转vo
     */
    SysMenuVo entityToVo(SysMenuEntity entity);

    /**
     * addParam转entity
     */
    SysMenuEntity addParamToEntity(SysMenuAddParam addParam);

    /**
     * editParam转entity
     */
    SysMenuEntity editParamToEntity(SysMenuEditParam editParam);

}